home *** CD-ROM | disk | FTP | other *** search
/ Cream of the Crop 1 / Cream of the Crop 1.iso / PROGRAM / LDB171.ARJ / EXAMP302.CPP < prev    next >
Text File  |  1992-05-12  |  426b  |  20 lines

  1.      // examp302.cpp - link with binder.obj
  2.  
  3.      #define   FType    float
  4.      #define   FBinder  fbdr
  5.      #define   FBindeR  fbdR
  6.  
  7.      #include  "fbinder.hpp"
  8.  
  9.      main()    // count to 5
  10.      {
  11.           fbdr fb(BDR_DASSIGN|BDR_DNEW|BDR_DDELETE,5);
  12.  
  13.           for (float f = 1.0; fb.pushNew(&f); f++);
  14.  
  15.           while (fb.unQDelAsg(&f))
  16.                cout << f << "\n";
  17.  
  18.           return 0;
  19.      }
  20.